﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020006F3 RID: 1779
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetFriendDevelopmentInfoScRsp : IMessage<GetFriendDevelopmentInfoScRsp>, IMessage, IEquatable<GetFriendDevelopmentInfoScRsp>, IDeepCloneable<GetFriendDevelopmentInfoScRsp>, IBufferMessage
	{
		// Token: 0x170016D8 RID: 5848
		// (get) Token: 0x0600501E RID: 20510 RVA: 0x000DA29F File Offset: 0x000D849F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetFriendDevelopmentInfoScRsp> Parser
		{
			get
			{
				return GetFriendDevelopmentInfoScRsp._parser;
			}
		}

		// Token: 0x170016D9 RID: 5849
		// (get) Token: 0x0600501F RID: 20511 RVA: 0x000DA2A6 File Offset: 0x000D84A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetFriendDevelopmentInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170016DA RID: 5850
		// (get) Token: 0x06005020 RID: 20512 RVA: 0x000DA2B8 File Offset: 0x000D84B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetFriendDevelopmentInfoScRsp.Descriptor;
			}
		}

		// Token: 0x06005021 RID: 20513 RVA: 0x000DA2BF File Offset: 0x000D84BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendDevelopmentInfoScRsp()
		{
		}

		// Token: 0x06005022 RID: 20514 RVA: 0x000DA2D4 File Offset: 0x000D84D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendDevelopmentInfoScRsp(GetFriendDevelopmentInfoScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.uid_ = other.uid_;
			this.developmentInfoList_ = other.developmentInfoList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005023 RID: 20515 RVA: 0x000DA321 File Offset: 0x000D8521
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendDevelopmentInfoScRsp Clone()
		{
			return new GetFriendDevelopmentInfoScRsp(this);
		}

		// Token: 0x170016DB RID: 5851
		// (get) Token: 0x06005024 RID: 20516 RVA: 0x000DA329 File Offset: 0x000D8529
		// (set) Token: 0x06005025 RID: 20517 RVA: 0x000DA331 File Offset: 0x000D8531
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170016DC RID: 5852
		// (get) Token: 0x06005026 RID: 20518 RVA: 0x000DA33A File Offset: 0x000D853A
		// (set) Token: 0x06005027 RID: 20519 RVA: 0x000DA342 File Offset: 0x000D8542
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Uid
		{
			get
			{
				return this.uid_;
			}
			set
			{
				this.uid_ = value;
			}
		}

		// Token: 0x170016DD RID: 5853
		// (get) Token: 0x06005028 RID: 20520 RVA: 0x000DA34B File Offset: 0x000D854B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<FriendDevelopmentInfo> DevelopmentInfoList
		{
			get
			{
				return this.developmentInfoList_;
			}
		}

		// Token: 0x06005029 RID: 20521 RVA: 0x000DA353 File Offset: 0x000D8553
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetFriendDevelopmentInfoScRsp);
		}

		// Token: 0x0600502A RID: 20522 RVA: 0x000DA364 File Offset: 0x000D8564
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetFriendDevelopmentInfoScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.Uid == other.Uid && this.developmentInfoList_.Equals(other.developmentInfoList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600502B RID: 20523 RVA: 0x000DA3C4 File Offset: 0x000D85C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.Uid != 0U)
			{
				num ^= this.Uid.GetHashCode();
			}
			num ^= this.developmentInfoList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600502C RID: 20524 RVA: 0x000DA42A File Offset: 0x000D862A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600502D RID: 20525 RVA: 0x000DA432 File Offset: 0x000D8632
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600502E RID: 20526 RVA: 0x000DA43C File Offset: 0x000D863C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Uid != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Uid);
			}
			this.developmentInfoList_.WriteTo(ref output, GetFriendDevelopmentInfoScRsp._repeated_developmentInfoList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600502F RID: 20527 RVA: 0x000DA4A8 File Offset: 0x000D86A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.Uid != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Uid);
			}
			num += this.developmentInfoList_.CalculateSize(GetFriendDevelopmentInfoScRsp._repeated_developmentInfoList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005030 RID: 20528 RVA: 0x000DA514 File Offset: 0x000D8714
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetFriendDevelopmentInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.Uid != 0U)
			{
				this.Uid = other.Uid;
			}
			this.developmentInfoList_.Add(other.developmentInfoList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005031 RID: 20529 RVA: 0x000DA575 File Offset: 0x000D8775
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005032 RID: 20530 RVA: 0x000DA580 File Offset: 0x000D8780
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 82U)
					{
						if (num != 88U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						this.developmentInfoList_.AddEntriesFrom(ref input, GetFriendDevelopmentInfoScRsp._repeated_developmentInfoList_codec);
					}
				}
				else
				{
					this.Uid = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001F80 RID: 8064
		private static readonly MessageParser<GetFriendDevelopmentInfoScRsp> _parser = new MessageParser<GetFriendDevelopmentInfoScRsp>(() => new GetFriendDevelopmentInfoScRsp());

		// Token: 0x04001F81 RID: 8065
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001F82 RID: 8066
		public const int RetcodeFieldNumber = 11;

		// Token: 0x04001F83 RID: 8067
		private uint retcode_;

		// Token: 0x04001F84 RID: 8068
		public const int UidFieldNumber = 1;

		// Token: 0x04001F85 RID: 8069
		private uint uid_;

		// Token: 0x04001F86 RID: 8070
		public const int DevelopmentInfoListFieldNumber = 10;

		// Token: 0x04001F87 RID: 8071
		private static readonly FieldCodec<FriendDevelopmentInfo> _repeated_developmentInfoList_codec = FieldCodec.ForMessage<FriendDevelopmentInfo>(82U, FriendDevelopmentInfo.Parser);

		// Token: 0x04001F88 RID: 8072
		private readonly RepeatedField<FriendDevelopmentInfo> developmentInfoList_ = new RepeatedField<FriendDevelopmentInfo>();
	}
}
